<?php

session_start();
$tempCode = $_GET['code'];

echo $tempCode;

echo file_get_contents("https://graph.facebook.com/oauth/access_token?client_id=224416074306696&redirect_uri=http://www.thehi.me/pennapps/david.php&client_secret=aa381593c5dce50d356c5bd8b653c069&code=$tempCode");